package cn.bsuc.crm.mapper;


import cn.bsuc.crm.entity.UserRole;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;


public interface UserRoleMapper extends BaseMapper<UserRole> {


    int insertUserRole(@Param("userId") Integer userId, @Param("roleIds") Integer[] roleIds);

    int delectByUserId(Integer userId);
}
